home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / vsoup11.zip / makefile < prev    next >
Makefile  |  1996-09-04  |  2KB  |  65 lines

  1. # $Id: makefile 1.12 1996/09/04 08:42:05 hardy Exp $
  2.  
  3. CFLAGS = -DOS2 -DOS2EMX_PLAIN_CHAR -Wall -Zmtd -O99 -DNDEBUG
  4. # -DTRACE -DDEBUG -g
  5. # -DDEBUG_ALL -DTRACE_ALL -DTRACE -DDEBUG -g
  6. # -O99 -DNDEBUG
  7.  
  8. CC = gcc
  9.  
  10. .cc.o:
  11.     $(CC) $(CFLAGS) -c $<
  12.  
  13. O = .o
  14.  
  15. OBJECTS = areas$(O) kill$(O) main$(O) mts$(O) news$(O) newsrc$(O) nntpcl$(O) pop3$(O) \
  16.                 reply$(O) smtp$(O) socket$(O) util$(O)
  17. LIBS = -lregexp -lsocket -lstdcpp
  18. PROGRAM = vsoup.exe
  19. VERSION = vsoup11
  20.  
  21. $(PROGRAM): $(OBJECTS)
  22.     $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJECTS) $(LIBS)
  23. #    copy $(PROGRAM) f:\yarn\bin
  24.  
  25. areas$(O):    areas.hh mts.hh
  26.  
  27. kill$(O):     kill.hh mts.hh
  28.  
  29. main$(O):     areas.hh global.hh mts.hh news.hh pop3.hh reply.hh
  30.  
  31. mts$(O):      mts.hh sema.hh
  32.  
  33. news$(O):     areas.hh global.hh kill.hh mts.hh news.hh newsrc.hh nntp.hh nntpcl.hh \
  34.               socket.hh
  35.  
  36. newsrc$(O):   mts.hh newsrc.hh util.hh
  37.  
  38. nntpcl$(O):   mts.hh nntp.hh nntpcl.hh socket.hh
  39.  
  40. pop3$(O):     areas.hh global.hh mts.hh pop3.hh socket.hh
  41.  
  42. reply$(O):    global.hh mts.hh nntpcl.hh reply.hh smtp.hh socket.hh util.hh
  43.  
  44. smtp$(O):     global.hh mts.hh smtp.hh socket.hh util.hh
  45.  
  46. socket$(O):   mts.hh socket.hh sema.hh
  47.  
  48. util$(O):     mts.hh util.hh sema.hh
  49.  
  50. test$(O):     global.hh socket.hh sema.hh util.hh
  51.  
  52. ci:
  53.     ci -u $(CI) *.cc *.hh makefile README
  54.  
  55. zip:
  56.     emxbind -s $(PROGRAM)
  57.     -del $(VERSION).zip > nul 2>&1
  58.     zip -9 $(VERSION) *.cc *.hh makefile readme yarnio.cmd $(PROGRAM)
  59.     uuencode $(VERSION).zip $(VERSION).uue
  60.  
  61. clean:
  62.     -del *.o         > nul 2>&1
  63.     -del *.exe       > nul 2>&1
  64.     -del $yarnio.cmd > nul 2>&1
  65.